package com.trust.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author ccc
 * @since 2023-11-10 14:11:39
 */
@Data
@TableName("system_account_role")
public class SystemAccountRole {

    /** 主键 */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /** 角色描述 */
    @TableField(value = "description")
    private String description;

    /** 角色名称 */
    @TableField(value = "name")
    private String name;

    @ApiModelProperty("权限")
    private String authority;

    @ApiModelProperty("角色编号")
    private String code;
}